package com.yiquan.user.client;

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Tyrone
 * @date 2022/5/7 0:57
 */
@FeignClient("yiquan-comment")
public interface CommentClient {
    @RequestMapping(value = "/comment/{id}", method = RequestMethod.GET)
    public Result findById(@PathVariable Long id);
}
